package com.service;

import com.entity.ShopNews;

import java.util.List;

public interface ShopNewsService {
    int getCountNews();

    List<ShopNews> getAllNewsByPage(Integer currentPage, Integer pageSize);

    List<ShopNews> getAllNews();

    int removeMoreNews(Integer[] ids);

    int addNews(ShopNews news);

    int deleteByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ShopNews record);

    int updateByPrimaryKey(ShopNews record);
}
